package com.example.config;

public class TenantContext {

    private static ThreadLocal<Long> currentTenant = new ThreadLocal<>();
    public static void setTenant(Long tenant) {
        currentTenant.set(tenant);
    }
    public static Long getTenant() {
        return currentTenant.get();
    }
}
